package com.yazi.mxz.behavior.repository;


import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.yazi.mxz.behavior.entity.repository.GoodsClassify;

public interface GoodsClassifyRepository extends MongoRepository<GoodsClassify, Long> {
	
	List<GoodsClassify> findByParentIdOrderBySort(Long parentId);
	List<GoodsClassify> findByCompanyIdAndDeepOrderBySort(Long companyId, Integer deep);
}
